package com.eduran.cotools.main;

import de.jensd.fx.fontawesome.AwesomeDude;
import de.jensd.fx.fontawesome.AwesomeIcon;
import de.jensd.fx.fontawesome.AwesomeStyle;
import de.jensd.fx.fontawesome.test.App;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

/**
 * Created by eduran on 10.09.2014.
 */
public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("fxml/cotools.fxml"));
        primaryStage.setTitle("CoTools");
        Scene scene = new Scene(root, 600, 400);
        scene.getStylesheets().addAll(AwesomeStyle.BLUE.getStylePath());
        primaryStage.setScene(scene);
        primaryStage.setMaxHeight(438);
        primaryStage.setMaxWidth(615);
        primaryStage.setMinHeight(438);
        primaryStage.setMinWidth(615);
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }
}
